PDA

View Full Version : DW CS3 - Strong font in table?



StiligeCecilie
Mar 7th, 2008, 12:04 PM
I'm using Dreamweaver CS3, and I had a problem were I made a table of 1x2 to put text and image together. But the text is, no matter what I do; strong. I don't want the text to be strong, there are no <strong> tags anywhere, and it happens only when the text is in the table. I also tried making a css with font-style; normal. Did not help either. Anyone have any idea on what I could've done wrong, or what I can do to fix it?

Dan Schulz
Mar 7th, 2008, 12:18 PM
What does your complete page code look like?

StiligeCecilie
Mar 7th, 2008, 12:23 PM
http://www.stuntsquad.no/

http://www.royaljunk.no/

Problem with the strong font is that it looks ok in FireFox, but it's too bold in Internet Explorer, so I want it normal.

StiligeCecilie
Mar 7th, 2008, 01:07 PM
I think the code is kind of messed up, I'm not writing it myself. So I don't know what's wrong.

VIPStephan
Mar 7th, 2008, 01:55 PM
You are using table header cells (th) for which browsers may display the font bold and center aligned. Simple but not really satisfying solution:



th {
font-weight: normal;
text-align: left; /* only if desired */
}

That means add a CSS style for the th element and set the font weight accordingly.

The real solution is to rewrite the code so you aren’t abusing tables for things they aren’t meant for (http://www.hotdesign.com/seybold/).

StiligeCecilie
Mar 7th, 2008, 02:20 PM
You are using table header cells (th) for which browsers may display the font bold and center aligned. Simple but not really satisfying solution:



th {
font-weight: normal;
text-align: left; /* only if desired */
}

That means add a CSS style for the th element and set the font weight accordingly.

The real solution is to rewrite the code so you arenít abusing tables for things they arenít meant for (http://www.hotdesign.com/seybold/).


I know, I know, I'm a dumbass, but I'm really not that pro.. :P
But thanks, it finally works, now =) Appreciate it

jerry62704
Mar 7th, 2008, 03:36 PM
You wouldn't want "font-style" for this - it would be "font-weight".