Forum Moderators: coopster
I am trying to put a padding to the right of my logo so that it doesn't touch the right side of my site but don't manage and don't know what line of code I need to write to put the padding.
I need your help,can you please give me the correct line of code.
Thank you,
<div id= <a href="'. URL_ROOT .'/" onclick="mysite.Page.Open('. $homepage_oid .'); return false;"><IMG ALIGN="Right";float: right; src="'. DIR_PIC .'/mylogo.png" alt="" /></a></div>
<div id="foot-speech">' . $p->FooterRefLinks() . '</div>
Just one more thing :
I am also trying to align on the top right side of my website the following newsletter box and can't get it aligned to the right and on the same line as the text on the left ?
Can you tell me what line of code I am missing to first align right, then on the same line as my text on the left and finally where to put it in this code below ? I guess I need to put a div somewhere but i have no idea where
Thanks,
<link href="NL-style.css" rel="stylesheet" type="text/css">
<form name="form1" method="post" action="NLprocess.php" class="bk">
<fieldset>
<p align="center" class="txt">Subscribe E-mail:<br>
<input name="email" type="text" size="12" class="txtbox">
<input type="submit" name="Submit" value="Go" class="button">
<br>
</fieldset>
</form>
I am trying to align on the top right side of my website the following newsletter box and can't get it aligned on the right and on the same line as the text on the left ?
Can you tell me what line of code I am missing to first align right, then on the same line as my text on the left and finally where to put it in this code below ?
Thank you,
Mike
<link href="NL-style.css" rel="stylesheet" type="text/css">
<form name="form1" method="post" action="NLprocess.php" class="bk">
<fieldset>
<p align="center" class="txt">Subscribe E-mail:<br>
<input name="email" type="text" size="12" class="txtbox">
<input type="submit" name="Submit" value="Go" class="button">
<br>
</fieldset>
</form>
div#right_col {position: static; top: 155px; left: 355px; width: 350px;}
div#left_col {position: static; top: 5px; left: 5px; width:350px;}
div#news_right {position: static; top 5px; left: 355px; width: 350px; height: 150px;}
You would be better using relative units, so I would suggest asking on the CSS [webmasterworld.com] forum for better code. However that will get you going for the time being.