mholmes
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by mholmes
-
-
Sorry to ask a million questions. ASP really does not like me. I'm trying to place my text inside its own div within a div and a pic next to it inside a div but the pic will be in its own div as well. I keep getting this; Here is my code:
</div><!-- Page Size & Main Division --><div id="DivMain"><div id="bv_Text1" style="margin:0;padding:0;position:relative;left:25;top:27px;width:260px;height:320px;text-align:left;z-index:0;"><font style="font-size:14px" color="#000000" face="Times New Roman"></font>Hello</div><div id="bv_Image1" style="margin:0;padding:0;position:relative;left:auto;right:0px;top:5px;width:260px;height:260px;text-align:left;z-index:1;"><img src="images/coins.png" id="Image1" alt="" align="top" border="0" style="width:260px;height:260px;"></div></div>
Ive played witht he CSS for about 3 hours and it still never wants to go side by side. CSS:
#DivMain { background-color:White; width:928px; height:580px; top:200px; margin-left:auto; margin-right:auto; }#DivText1 { width:600px; height:330px; top:290px; position:relative; left:10px; right:auto; z-index:0; margin-left:15px; margin-right:auto; }#ImgCoins { width:260px; height:260px; top:290px; position:relative; left:auto; right:0px; z-index:1; margin-left:auto; margin-right:0px; }#pTitle1 { font-family:Times New Roman; font-size:24px; font-weight:bold; }#pArticle1 { font-family:Times New Roman; font-size:14px; font-weight:normal; }
-
Im very new to html so what is the best pratice? An sorry to ask but can someone explain why which is best. Sorry for questions.
-
Here is my current website:http://www.uoksoftware.com/news/ Im trying to recreate it using ASP and build it my self with out the aid of a web page builder. Here is the CSS Code:
#DivMain { background-color:White; width:928px; height:580px; top:200px; margin-left:auto; margin-right:auto; }#DivText1 { width:600px; height:330px; top:290px; position:relative; left:10px; right:auto; z-index:0; margin-left:15px; margin-right:auto; }#ImgCoins { width:260px; height:260px; top:290px; position:relative; left:auto; right:0px; z-index:1; margin-left:auto; margin-right:0px; }#pTitle1 { font-family:Times New Roman; font-size:24px; font-weight:bold; }#pArticle1 { font-family:Times New Roman; font-size:14px; font-weight:normal; }
This did not work for unknown reasons so I tried forcing it using this code:
<!-- Page Size & Main Division --><div id="DivMain"><div id="bv_Text1" style="margin:0;padding:0;position:relative;left:25;top:27px;width:260px;height:320px;text-align:left;z-index:0;"><font style="font-size:14px" color="#000000" face="Times New Roman"></font>Hello</div><div id="bv_Image1" style="margin:0;padding:0;position:relative;left:auto;right:0px;top:5px;width:260px;height:260px;text-align:left;z-index:1;"><img src="images/coins.png" id="Image1" alt="" align="top" border="0" style="width:260px;height:260px;"></div></div>
I'd really like this to work via CSS but its really wanting to fight me for some reason. thansk for help in advance.
-
Nm I got it working, using a masterpage causes to many issues so not using one proved to be easier to work with in ASP.
-
Lol that was the question. I need to put a div inside another div and center the div its self inside the otehr div but the text should be align left.
-
I need to place a div inside another div. I'm using ASP if that makes a difference. Here is my current CSS setup and HTML. CSS:
#DivMain { background-color:White; width:928px; height:1000px; top:200px; margin-left:auto; margin-right:auto; }#DivText { width:928px; height:950px; top:250px; margin-left:auto; margin-right:auto; }
HTML:
<!-- Page Size & Main Division --><div id="DivMain"><div id="DivText"><asp:ContentPlaceHolder ID="Content2" runat="server"></asp:ContentPlaceHolder></div></div>
Thanks in advance for any help
Css Help again
in CSS
Posted
AS you can see I even tried not using the css with bad still results.