Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 29th, 2007, 05:20 AM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 51 m 47 sec
Reputation Power: 2
Question CSS looks bad?

Any idea how to fix these "LINES" between my "divs"?

This is the css code.
PHP Code:
<STYLE TYPE="text/css" MEDIA=screen>
<!--
div#fact p, div#fact h2 {
margin-top0px;
margin-bottom0px;
color#fff;
}

div#fact {
background-color#009def;
color#fff;
padding-left10px;
padding-right10px;
width160px;
padding-top5px;
padding-bottom10px;
}
-->
</
STYLE

This is the div tags:
PHP Code:
<img src="images/top.gif" alt="" width="180" height="5"/>
<
div id="fact">
<
h2>Fact #1</h2>
<p>Lorem ipsum dolor sit ametconsetetur sadipscing elitrsed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam eratsed diam voluptuaAt vero eos et accusam et justo duo dolores et ea rebumStet clita kasd gubergrenno sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
  <
br />
</
div>
<
img src="images/bottom.gif" width="180" height="5" alt="" /> 


What could be the problem?
I have attached the images.
Attached Images
File Type: gif top.gif (327 Bytes, 62 views)
File Type: gif bottom.gif (327 Bytes, 67 views)
__________________
Cheers
West

Reply With Quote
  #2  
Old October 29th, 2007, 08:24 AM
westmatrix99's Avatar
westmatrix99 westmatrix99 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 288 westmatrix99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 51 m 47 sec
Reputation Power: 2
This was ODD!
All I did was add "DIV" tags to the images, must have removed them while playing around.

<div><img src="images/top.gif" alt="" width="160" height="5"/></div>

Now it works again!

Reply With Quote
  #3  
Old November 19th, 2007, 01:02 PM
CharlesChadwick CharlesChadwick is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Location: Olympia, WA
Posts: 8 CharlesChadwick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 11 sec
Reputation Power: 0
I've had this problem in IE quite a bit. You don't need to wrap your images in divs. Just set add the align attribute to your images:

Code:
<img src="images/top.gif" align="absbottom" alt="" width="180" height="5"/>
... blah blah ...
<img src="images/bottom.gif" align="top" width="180" height="5" alt="" />  

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > CSS looks bad?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT