PDA

View Full Version : Dreamweaver & text. HELP!!!


virginiaboy
07-09-2008, 12:44 PM
I have a problem with text in Dreamweaver. Specifically text resizing issues in browsers.

Let me say that I am using CSS in all my text layouts. Almost always text inside a div tag. The problem is when the site is viewed in a browser who's user has set the font to a larger than normal font things get screwy. If I place an image under block of text, when it's viewed in such browsers the text over flows the image. Thus I have to design with added space, which obviously doesn't always look good.

Is there a remedy to this issue? I am relatively new to the web design world, so, I'm still in the learning process. This problem really seems more evident on PC machines. On a Mac it doesn't seem to change the layout.

Any help or suggestions you can offer would be greatly appreciated.

CurtisMcHale
07-09-2008, 01:43 PM
which browsers specifically break the text layout. It could be a different problem for different browsers. In fact I would not think that FF3 or IE7 would do that as they both support full screen magnification, but I could be wrong.

Also text generally should not be encased in divs to apply style to them. If it is a paragraph tag it as <p>. if you need to apply a specific style to it <p class="style"> and your css would be

.style {
text-decoration: none;
}

If that doesn't make sense you should read up on Semantics in web development. As you are new, by your own admission, I would recommend that you listen to the Boagworld podcast (http://www.boagworld.com/).