CSS help pls
- Started
- Last post
- 5 Responses
- oopsbrokemyhip
What the hell is going on here? http://www.imagineitrecords.com/…
I want to bring the format (CD/DVD) and label (Hawthorne Street Records) under the first line but it's getting pushed somehow? Any help? Thanks very much!
- ********0
I think its just because you have a series of spans, and its trying to put them all next to each other..
Maybe try sticking a [p] after the 'Price' span, or even making the format class display:block..
Number of ways to do it, I'd think..
- ethios0
spans are inline elements so they naturally try and place themselves inline with the other spans, if you want elements to have their own new line either set the attribute display: block on the span or use divs which are displayed as block by default
- Nairn0
Yeah, I'd strip out the css and stick in a BR tag, then go back and put in CSS bit by bit. The way you're set up at the moment feels like overkill, 'specially considering your main structure is defined by tables.
- oopsbrokemyhip0
"specially considering your main structure is defined by tables."
how can i align center with divs? thanks for all your help by the ways people. the display: block; helped.