|
| |
|
|
vision2000
Posts: 541 From: USA Status: offline
|
image positioning - 6/29/2005 16:28:02
How can I position the image to the right on this page so the text flows around it? discount-real-estate-listings-md.com/contract-review.shtml Here's the css I tried but did not work: .rightimage{ float: right; margin: 5px; } Thank you Herman
|
|
|
|
Kitka
Posts: 2517 Joined: 1/31/2002 From: Australia Status: offline
|
RE: image positioning - 6/29/2005 17:03:50
quote:
Here's the css I tried but did not work: .rightimage{ float: right; margin: 5px; } Hi Herman, It might be because you have the bracket too close to the selector. Try this: .rightimage { float: right; margin: 5px; }
_____________________________
Kitka **It is impossible to make anything foolproof because fools are so ingenious.**
|
|
|
|
vision2000
Posts: 541 From: USA Status: offline
|
RE: image positioning - 6/29/2005 19:47:00
Thank you Kitka and Tailslide - it's corrected. I now realize I need to use <p></p> for blocks of text in xhtml. Does this mean I should not use <p align> or <div align> for xhtml? Is it best to use <br /> <br />for separating paragraphs.
|
|
|
|
vision2000
Posts: 541 From: USA Status: offline
|
RE: image positioning - 6/30/2005 8:02:00
Thanks for the great tips...a couple of other questions on text styling: What styling do I use to reduce the space between paragraphs (instead of using <br /><br /> each time)? How do I style bolded text (word or phrase)? Currently I use: .textbold { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #000099; } or is it better to just use <strong> Truely appreciate your valuable feedback. Herman
|
|
|
|
vision2000
Posts: 541 From: USA Status: offline
|
RE: image positioning - 6/30/2005 15:36:24
Thanks very much! I have a header image positioning problem: Is it possible to bring the 2 header images close together as in http://discount-real-estate-listings-md.com/index2.shtml (used fixed width of 760px) with this fluid layout: http://discount-real-estate-listings-md.com/index3.shtml If I add a large no of pixels to the left and right margins of the images I have to scroll to view the page at 800x600. If I view it at a very large resolution the I get a big gap between the images again. Should I stick to the fixed width then (even though the customer prefers fluid? Herman
|
|
|
|
vision2000
Posts: 541 From: USA Status: offline
|
RE: image positioning - 6/30/2005 18:31:20
Thanks again for your swift response...you have been very helpful. I decided to make the two images into one image, so I can keep the fluid design..seems to work fine: http://discount-real-estate-listings-md.com/index1A.htm Now, what do I add to my style sheet to make the header text (currently H2 tags) as H1 tags but same size as the H2s? I would change the images as you suggested but it's what the customer wants:-(
|
|
|
|
vision2000
Posts: 541 From: USA Status: offline
|
RE: image positioning - 7/1/2005 9:44:57
Thank you - Can you take a look at my code to see why the header background image is now not showing...I must be missing something. http://discount-real-estate-listings-md.com/index1A.shtml Yes, the customer is sometimes picky but also bull headed as to what they want...of course they know what is best for design:-)
|
|
|
|
vision2000
Posts: 541 From: USA Status: offline
|
RE: image positioning - 7/1/2005 11:30:33
Thanks, that did it! I had to make the height 300px to fit the text. What can I place in the CSS to eliminate all the <br/> tags I had to use to move the header text under the image? Where do I add the H1 tag in the CSS for the header text? Sorry for all the questions - but trying to learn the correct way from the start...I save hours of time also trying to figure it out myself.
|
|
|
|
vision2000
Posts: 541 From: USA Status: offline
|
RE: image positioning - 7/1/2005 12:16:03
Thanks a lot for your help! Have a great weekend. Herman
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|