Skip to main content
gamedev.net
🔒 Locked

[web] Div Border

Started by Supaflyfrank Dec 18, 2005 at 7:43 PM 1 replies 300+ views
Original Post
Supaflyfrank
Supaflyfrank
I have a couple of div tags which contains span tags and a href tag. Now those div tags are for menu items. So I want to make a general border around those other div tags. So I am trying to contain the other div tags with another div tag. So I apply the style border etc.. for that outer "parent div" and all i get is a horizonal line that is x pixel long and x is what ever i specify the border to be. so it doesnt have a height and its width is the entire screen. So my question is how would I make a border around other div tags. And is their a reason for my problem? Thank you in advance.
H_o_p_s
H_o_p_s
My guess is that there isn't content in it, and you haven't assigned a height to the div.


Other Div Content

Content Here


Is this what you are asking?
BRING BACK THE BLACK (or at least something darker)
Supaflyfrank
Supaflyfrank
wait i found the answer. I was doing a absolute position in the nested div and then having another absolute position in the div.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.