Spacing Issue help!
- Started
- Last post
- 6 Responses
- Claymantis
The principles message should align to the right but it has that space on the right. I can not figure out how to positions the divs so that works!
Can someone help me!
p.s. I know the site sucks. I just need some help.
Thanks!
- welded0
Do you want the div containing the text on the right or the text itself justified right?
1 - float: right;
2 - text-align: right;
- fiver0
i think he wants the text box that says "principal's message" to sit flush right with the "real food for real kids" image.
- welded0
In that case, #content needs to be 510px wide and float the 'principal's message' graphic right.
- Claymantis0
okay let me try that
- seeessess0
<div id="content" style="width:510px">
<img style="float:right; margin:0 0 5px 10px" src="http://cgsschool.com/images/prince_msg.jpg" />
<p>Thank you for your interest in CGS. We are located in Leaside, in the Bayview and Eglinton area of Toronto. We are a small school, devoted to our warm, nurturing atmosphere. CGS is private, co-educational and offers programming from Pre- Kindergarten to Grade Three.</p>
<p><strong>We are currently accepting applications for all of our programs. If you would like to apply for our JK program (half day or full day) please do so as soon as possible as classes are almost full. Due to popular demand, we are also adding an afternoon <em>Early Start</em> class. We look forward to hearing from you!</strong></p>
<a href="http://www.rfrk.com"><img src="http://cgsschool.com/images/ad_real.jpg" border="none" /></a>
<a href="earlystart.php"><img src="http://cgsschool.com/images/banner-early_start-h.jpg" width="510" height="175" border="0" alt="CGS Early Start"></a>
</div>
- Claymantis0
Thanks I fixed it!
What would I do without you guys!
Thanks again!
- How can you sell web design services when you don't know how to float an image?seeessess
- I am more of a designer but sometimes I do a little web production. And your fellow human needs help. So thanks man!Claymantis
- Gotcha, glad you got it sorted.seeessess