Jump to content

DIV="sidebar" ???????????


jibo

Recommended Posts

im wanting a side bar on left of my page and an iframe in the middle i got this code but when i test it in notepad the sidebar goes all way across the page instead going down it therefore the iframe is underneath... what am i missing here? do i need to use absolute positioning or something... i dunno lol pls help :)

<div id=sidebar><fieldset><legend>the testy thingy</legend><ol><li>> <a href='http://google.com' target='frame'>google</a></li><li>> <a href='http://google.com' target='frame'>google</a></li><li>> <a href='http://google.com' target='frame'>google</a></li><li>> <a href='http://google.com' target='frame'>google</a></li></ol></fieldset></div><iframe name='frame'></iframe>

and is there a way i can change the colour of the box that surrounds the links and the colour of the littl '>' symbol. cheers

Link to comment
Share on other sites

It's hard to say without the CSS. A div is by default a block-level element, so try putting display: inline on the definition for the sidebar style. Maybe specify a width also. You should be able to change the border attributes for fieldset in the CSS as well. If you create a class with the font color you want for the greater than signs, you can put them in a span with that class on it.

Link to comment
Share on other sites

It's hard to say without the CSS. A div is by default a block-level element, so try putting display: inline on the definition for the sidebar style. Maybe specify a width also. You should be able to change the border attributes for fieldset in the CSS as well. If you create a class with the font color you want for the greater than signs, you can put them in a span with that class on it.
erm ok... wot does that mean, lol im no good at css... how would i do this? :)
Link to comment
Share on other sites

thnks, i had a look but it didnt really help much, im not bothered about the colours and things as much but as for the border around the links the "fieldset" i dont want it to go all the way across the page.... can anyone give me a simple fix to this?????? :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...