PDA

Click to See Complete Forum and Search --> : end css style


calebm12
01-22-2007, 11:03 PM
i am having problems with css. i have different styles. so lets say the first line in the cell is bold...and i want the second line reg. and i want no space between the line. well when i try to add a <br> and move the second line up...it takes the css style of the first line. i cant figure out how to end the css. i tried </p> . i think the problem being is that the style is automatically set to the paragraph, and a br doesnt make a new paragraph. how can i make this work without splitting the cell.
my code is.
<td colspan="2"><p class="largefontmainbold">Hours of Operation</p>
<p class="medfontmainline">Monday - Thursday</p>

thanks a bunch.
and why we are on it. it is formatting my links with extra indents....while the css for this isnt asking for it. can i get rid of this.
thanks a bunch

derekteixeira
01-23-2007, 12:41 AM
i've been getting really into css lately, but your question is kind of confusing .. i think it would be easier to understand/help you if you posted your css as well .. sorry..

SurfPark
01-23-2007, 01:05 AM
<td colspan="2"><p class="largefontmainbold">Hours of Operation</p>
<p class="medfontmainline">Monday - Thursday</p>


How about not making it a paragraph in the first place? Replace 'p class' with 'span class'. A span horizontally scrolls across the screen and only ends when you tell it to. Its kind of like a paragraph but it doesn't respect the paragraph indentation rules. I use span for headers and menus all the time.