Forum Moderators: mack

Message Too Old, No Replies

Making pages compatable in different browser sizes

         

Jam_Jar

1:48 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



I am updating content on a site which was originaly developed by a web agency. I have to make sure content I have changed is aligned left of the page to allow for different browser sizes. The text on pages that I haven't edited yet (those developed by the agency) shrinks and expands on the page depending on the browser so that the content of the page is always visible.

I'm not sure if the above made any sense, but how do I set my pages so that this happens? I am using Dreamweaver to edit the pages but have a basic knowledge of HTML.

I would be very grateful for any help.

Longhaired Genius

2:24 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



The behaviour you describe (the "liquid" style) is the default html behaviour. If you make a page by hand with nothing but basic html tags, you will see it behave like this.

Your Dreamweaver code probably has unnecessary "width" attributes on some of the tags. You could make a copy of a file, open it in a plain text editor and experiment with removing some "width" attributes and see what happens.

I don't use Dreamweaver so I don't know you would remove unnecessary "width" attributes from your code with it, but I'm sure it's possible.

Jam_Jar

2:34 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



Thank you, will give it a whirl - if anyone out there knows a cheeky dreamweaver short cut that would be great as well.

balinor

2:40 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



You can simply remove the 'width' tags in the code view of Dreamweaver as well. If you are using tables, set the table width to 100% instead of a fixed pixel width.

Jam_Jar

3:35 pm on Jan 2, 2004 (gmt 0)

10+ Year Member



Sorry for the delay in replying - have been away for the Christmas holidays

Thank you both so much - didn't realise it was that simple -Will be having a boring time applying to all pages in the site now!