VBBRett
asked on
I am trying to bring an image down without using the <br> tag but it is not working
I am trying to bring an image down lower in a subsection but apparently it is not working. I have a <div> followed by a sub <div> which is supposed to displace an image but it is not budging. Any idea why? I will show the code here of my CSS. and HTML code. Thanks for your help ahead of time.
Here is the code that I am dealing with in the HTML file:
<div id="bottomHeader">
<div id="submenus">
<div id="submenu1">
<asp:HyperLink ID="submenuhyperlink1" ImageUrl="~/images/submenu 1.jpg" NavigateUrl="" runat="server"></asp:Hyper Link>
</div>
</div>
</div>
and here is the CSS I am dealing with in another file:
#bottomHeader {
text-align:center;
background-image:url('../i mages/prgg roupsite_b ottomheade r.jpg');
height:150px;
}
#submenus {
height:105px;
width:990px;
border-color:Black;
margin-left:100px;
margin-top:10px;
}
#submenu1 {
height:98px;
width:318px;
margin-top:10px;
}
Why is the image not being displaced exactly where I want it to be? Any solutions to this problem? Please let me know. Thanks!
Here is the code that I am dealing with in the HTML file:
<div id="bottomHeader">
<div id="submenus">
<div id="submenu1">
<asp:HyperLink ID="submenuhyperlink1" ImageUrl="~/images/submenu
</div>
</div>
</div>
and here is the CSS I am dealing with in another file:
#bottomHeader {
text-align:center;
background-image:url('../i
height:150px;
}
#submenus {
height:105px;
width:990px;
border-color:Black;
margin-left:100px;
margin-top:10px;
}
#submenu1 {
height:98px;
width:318px;
margin-top:10px;
}
Why is the image not being displaced exactly where I want it to be? Any solutions to this problem? Please let me know. Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you have a live link I can look at?
ASKER
Well, it seems to have worked. I will try the other two images to see how they will appear.
ASKER