2 replies [Last post]
69stanglover
Offline
newbie
Vancouver, Canada
Last seen: 15 years 5 weeks ago
Vancouver, Canada
Timezone: GMT-7
Joined: 2004-10-16
Posts: 8
Points: 0

I've been lurking for the past few weeks while I have been working on a site since every time I searched for something on google it seemed to lead me here. Wink

Ok I sorted out the menu problem (I think) One other small thing, how do i get a border on the right and left side of the main body of text? I have a feeling that the normal border commands are not working because the collapse command in the main table style. Any way to work around this? Something simple I am sure, but I have tried everything and it doesnt seem to work.

Link:
http://www.student-links.net/wip2.htm
(CSS: http://www.student-links.net/wip.css)

Any help would be great. From what I have seen so far you guys are a huge help and hopefully you can help me get these last few bugs worked out.

P.S. Please feel free to make any suggestions about the site/CSS as well. Laughing out loud Thanks!

obsidian
Offline
Enthusiast
South Carolina
Last seen: 13 years 4 weeks ago
South Carolina
Joined: 2004-08-15
Posts: 136
Points: 0

*edited* Just a simple border Question now....

really, you should only have to declare the border-left and border-right to get the look you want. figure out exactly which tag your text will appear in, and then apply the border to that tag. as long as you list this after your previous borders were defined, it will override any previous settings you have. you can also add a little left and right padding to space things out nicely (for my example, i'm just using a <p> tag):

HTML:
<p class="l_r_borders">
All kinds of text that you want to put your borders around...<br />
<br /><br /><br /><br />
Just doing this so you can see several lines worth.
</p>

CSS:
p.l_r_borders {
    border-left: 1px solid #669966;
    border-right: 1px solid #669966;
    padding: 0 10px;
}

Hope this makes sense. it's usually a pretty easy thing to do!

You can't win, you can't lose, you can't break even. You can't even get out of the game!

69stanglover
Offline
newbie
Vancouver, Canada
Last seen: 15 years 5 weeks ago
Vancouver, Canada
Timezone: GMT-7
Joined: 2004-10-16
Posts: 8
Points: 0

*edited* Just a simple border Question now....

obsidian wrote:
really, you should only have to declare the border-left and border-right to get the look you want. figure out exactly which tag your text will appear in, and then apply the border to that tag. as long as you list this after your previous borders were defined, it will override any previous settings you have. you can also add a little left and right padding to space things out nicely (for my example, i'm just using a <p> tag):

HTML:
<p class="l_r_borders">
All kinds of text that you want to put your borders around...<br />
<br /><br /><br /><br />
Just doing this so you can see several lines worth.
</p>

CSS:
p.l_r_borders {
    border-left: 1px solid #669966;
    border-right: 1px solid #669966;
    padding: 0 10px;
}

Hope this makes sense. it's usually a pretty easy thing to do!

Thanks a lot! I must of been having a mental lapse or something. Laughing out loud Thanks again. Wink