GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to linux and more so, completely new to html codes.
I have been learning to build webpage using bluefish as the html editor and have been reading a couple of books like ( Master Visually HTML 4 and XHTML 1) and others etc. and have just completed a simple index.html page.
when I viewed the index.html page with Mozilla at 800x600 resolution the page elements all were displayed at right where they should be. But when the same page was viewed at 1024x876 resolution,the elements, at least a few
of them were displayed at the wrong places.
would appreciate if anyone who can help to solve this simple problem?
That is what happens when using GUI editors. They quite often use absolute positioning. I would suggest writing your html pages by hand if you want proper liquid pages.
I'm sorry but that is terrible advice. Tables are used to display tabular data. They are not for creating the layout of a website.
What you really want to use is relative positioning from CSS. For an example take a look at my website (link in my sig...), then take a look at the code, then look at the stylesheet (if you type http://badcomputer.no-ip.com/linuxbot.css in your browser it will prompt you to either download it or open it.)
Resize the browser window as much as you like, and notice how the website adjusts itself perfectly. Make it narrow, then make it wide.
Please don't use tables for page alignment. It is a kludge at best, and a very poor one at that...
what is wrong with tables for websites? tables don't have to be just for displaying certain types of data......they work well in blog layouts and other simple things like image galleries.
I agree with divs since the dramaticly reduce the page size and increase flexability but you need to be carefull with certain browsers. bulliver's page does not view well in Netscape 4 at all and the graphic shows up too often in IE.
Wow, that's wierd (just fired up IE). I obviously know next to nothing about web design/rendering, but notice how different things look in different browsers and just wonder 'why'...
This is something which I belive Mozilla is striving to do. There are also bugs in some browsers. There are versions of Netscape 4 that forget to make text bold when using a <B> tag.
MasterC, if you do get into webdesign you'll find yourself fighting to get IE to do all the cool useful things...if you go to my acidrip site you'll see that the title stays onscreen with moz, ns etc... but in IE it moves, as IE doesn't pay attention to CSS, and you have to break so many rules just to get it to behave like it does there, and not completely screw the page up. there are countless pages devoted to cheats and hacks for IE. These are more in CSS2 and such, which are much newer and not needed for basic sites, but when you're trying to make more interactive sites like my acidbox thing is going (and avoiding using frames...) these css flaws really start getting in the way.
Originally posted by MasterC All hate and propaganda aside, why aren't all browsers standard's compliant (equal)?
Who knows! I agree that it is mad though.
acid_ kewpie is right about tweaks and hacks - if you want to do make things fancy and looking similar in all browsers you will need to write some sort of script (client side or server side) to determine the browser version and either insert different stylesheets or add javascript.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.