PDA

View Full Version : <div> and CSS


filburt1
11-15-2002, 04:57 PM
How do I remove a line break after a <div>? Changing to a <span> is not an option, I believe.


<div style="font-family:Trebuchet MS,Verdana,Arial,sans-serif; font-size:13px; display:inline">

<div style="color:{categoryfontcolor}; position:relative; z-index:2; ">$forum[title]</div>
<div style="color:#000000; position:relative; top:-17px; z-index:1; ">$forum[title]</div>

</div>

See attached screenshot for what's wrong.