By kingto on
Thx,
I built a views page, and I would like to display that page just like this: http://www.18wos.org/files/example.PNG
But..um, it's not worked well, and just caused by css.
you can see: http://www.18wos.org/china-map-for-euro-truck-simulator
I'm using these css to try to display it,
could you please help me to point the mistakes?
Thank you very much.
.view-item-CTS {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 11px; FLOAT: left; PADDING-BOTTOM: 5px; MARGIN: 5px 10px; WIDTH: 150px; COLOR: #666; LINE-HEIGHT: 1.1em; PADDING-TOP: 5px; HEIGHT: 150px
}
.view-data-node-title{
clear: both; PADDING-RIGHT: 5px; PADDING-LEFT: 5px; MARGIN-BOTTOM: 2em; PADDING-BOTTOM: 5px; PADDING-TOP: 5px;
}
Comments
lol
lol
I wonder if perhaps someone
I wonder if perhaps someone could help me, thx
Float issue
You have a CSS float issue.
Read up on css floats and clearing.
Having a quick look at your css, looks like you need to properly reference you elements.... ah, what the heck, here.
You restrain the
. Then the floats take care of the rest.
Side note: remove the white
Side note: remove the white space in your HTML between
<li>tags... it can cause white space when rendered in a browser.thank you very much, both of
thank you very much, both of you.
let me try it.