| | |
image
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2008
Posts: 15
Reputation:
Solved Threads: 0
I have a page set between frames that has a table with two columns: the left column has an image fixed in one position and in the right column is text (with images). When the window is at 100%, it works, but if the window is dropped to 3/4 size, the image overlaps the text. Site is catbent.com and it's the all about section.
Thanks
Thanks
Can you post your CSS? You may want too consider cell padding or perhaps a margin for this text.
Last edited by Xlphos; Aug 27th, 2009 at 8:12 pm.
I don't mind helping but please mark your thread as solved once the problem is sorted. If you figure it out tell us how you did it, don't just abandon your thread!
•
•
Join Date: Oct 2008
Posts: 15
Reputation:
Solved Threads: 0
The CSS for the image is as follows:
The text is just straight text. Adding a margin or cell padding would just push the text over slightly and it`d still be overlapped if the window was small enough.
css Syntax (Toggle Plain Text)
img.one { position:fixed; }
The text is just straight text. Adding a margin or cell padding would just push the text over slightly and it`d still be overlapped if the window was small enough.
Last edited by peter_budo; Aug 28th, 2009 at 10:56 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
•
•
I have a page set between frames that has a table with two columns: the left column has an image fixed in one position and in the right column is text (with images). When the window is at 100%, it works, but if the window is dropped to 3/4 size, the image overlaps the text. Site is catbent.com and it's the all about section.
Thanks
Use float instead.
Last edited by Troy III; Aug 28th, 2009 at 12:24 am.
I was the one who was facing this problem also and I have my whole week in solving this problem so in the whole forum is there anyone who can help us because now I am thinking to get rid of and if this will solved I really appreciate that.
Last edited by James Walter; Aug 30th, 2009 at 7:37 pm.
•
•
Join Date: Jul 2008
Posts: 101
Reputation:
Solved Threads: 9
I would drop the height and width declarations that don't belong in modern HTML:
Instead I would separate HTML and CSS like this:
The heigth will always be correct (the aspect ratio won't change) and the text follows nicely on the right side. If you need to separate this from more text (or pictures) use a tag with style='clear:both;' .
inge
HTML and CSS Syntax (Toggle Plain Text)
<img src="Images/Purple eyes.gif" width="345" height="483" />
Instead I would separate HTML and CSS like this:
HTML and CSS Syntax (Toggle Plain Text)
HTML: <img class='portrait' src="Images/Purple eyes.gif" />
HTML and CSS Syntax (Toggle Plain Text)
CSS: .portrait { float:left; width:30%; /* or something that fits */ }
The heigth will always be correct (the aspect ratio won't change) and the text follows nicely on the right side. If you need to separate this from more text (or pictures) use a tag with style='clear:both;' .
inge
Yes, I'm running Ubuntu. Of course.
![]() |
Similar Threads
- How to create image maps that look so nice... (Graphics and Multimedia)
- Image capture into HTML/IE and Oracle databases... (Oracle)
- adobe image problem (Graphics and Multimedia)
- Webcam stops transmitting image (USB Devices and other Peripherals)
- IE "Save Image as;" Bitmap, wont in JPEG??? (Web Browsers)
- cant use acronis true image on windows xp (Windows NT / 2000 / XP)
- edit text on a gif image in photoshop (Graphics and Multimedia)
Other Threads in the HTML and CSS Forum
- Previous Thread: CSS and iframes
- Next Thread: How to set a table in front of an object?
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity create css design development displayimageinsteadofflash dreamweaver drupal emailmarketing epilepsy explorer firefox flash font fonts form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. templates textcolor theme timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 wordpress xml xsl





