jibo Posted September 20, 2006 Share Posted September 20, 2006 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 More sharing options...
justsomeguy Posted September 20, 2006 Share Posted September 20, 2006 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 More sharing options...
jibo Posted September 20, 2006 Author Share Posted September 20, 2006 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 More sharing options...
justsomeguy Posted September 20, 2006 Share Posted September 20, 2006 It's not too hard, that stuff is pretty basic, so you might want to read through the CSS tutorials. This would go in your stylesheet or style section in the head:div {display: inline;width: 250px;}fieldset {border: 1px solid #CCAA00;} Link to comment Share on other sites More sharing options...
jibo Posted September 21, 2006 Author Share Posted September 21, 2006 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 More sharing options...
justsomeguy Posted September 21, 2006 Share Posted September 21, 2006 Can you give an example link? Link to comment Share on other sites More sharing options...
jibo Posted September 27, 2006 Author Share Posted September 27, 2006 not reli cos i saw it on intranet at work and thats where i got the code from.............. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now