To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > ClientSide Technologies

ClientSide Technologies Discuss HTML/CSS/Javascript, and any other client-side technologies, here.

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-02-2006, 04:27 PM   #1
kralspace
Member
 
Join Date: Nov 2002
Location: central Texas
Posts: 45
css white background turns black in WYSIWYG

Hi all,

I have a file that uses CSS and 4 gifs to created rounded corners on a white box, and viewing with a browser it works fine, but in Dreamweaver workview, the box area shows up black. I like to work in code, but the other people who will be editing it need to be able to see the text. Can you suggest any changes to make it show white? thanks in advance......Kathy

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>

.bl {background: url(images/bl.gif) 0 100% no-repeat #ffffff; width: 525px}
.br {background: url(images/br.gif) 100% 100% no-repeat}
.tl {background: url(images/tl.gif) 0 0 no-repeat}
.tr {background: url(images/tr.gif) 100% 0 no-repeat; padding:10px}
.clear {font-size: 1px; height: 1px}

body { background-color: #FFE4B1; }

</style>
</head>
<body>
<div class="bl"><div class="br"><div class="tl"><div class="tr">
<p>Trying Out a Headng
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit</p>
</div></div></div></div>
<div class="clear">&nbsp;*-</div>

</body>
</html>
kralspace is offline   Reply With Quote
Old 02-02-2006, 05:04 PM   #2
bpat1434
NMaOtBG
 
bpat1434's Avatar
 
Join Date: Oct 2004
Location: Around 255.255.255.0
Posts: 8,093
umm... I'd say that it's just a dreamweaver thing....

I used to work with dreamweaver, then dropped it as I noticed it really wasn't helping me to do anything I didn't already know how to do...

My honest suggestion is to just tell them not to worry about it. Or, do all the updating yourself....

THe problem is with the program, not the code (from what I can tell)
bpat1434 is offline   Reply With Quote
Old 02-02-2006, 05:07 PM   #3
kralspace
Member
 
Join Date: Nov 2002
Location: central Texas
Posts: 45
Thanks Brett,

I appreciate your insight, sometimes it is hard to know if its my code or the program so I usually assume it's me!

Kathy
kralspace is offline   Reply With Quote
Old 02-02-2006, 05:38 PM   #4
kralspace
Member
 
Join Date: Nov 2002
Location: central Texas
Posts: 45
this code gives me a box with rounded corners in IE, but not Firefox or Netscape, is there a different way I should write the style?

dl {
width: 590px;
margin: 0px 0px 20px 20px;
background: #fff url(images/bottom.gif) no-repeat bottom left;
}

dt {
margin: 0px;
padding: 5px;
background: #fff url(images/top.gif) no-repeat top left;
}

dd {
margin: 0px;
padding: 5px;
}

thanks, Kathy
kralspace is offline   Reply With Quote
Old 02-02-2006, 11:58 PM   #5
bpat1434
NMaOtBG
 
bpat1434's Avatar
 
Join Date: Oct 2004
Location: Around 255.255.255.0
Posts: 8,093
Actually, you can specify with the moz-radius or something operater to round the corners.... so you can use that as an IE only CSS style, and then use the moz-round or something to do that in Mozilla.

Use the following to hide from IE:
Code:
/* Hide Following Code From IE/Mac \*/
/* */
To hide from IE/Win you have to use the selector class (* or >) so you have to specify the parent element...
bpat1434 is offline   Reply With Quote
Old 02-15-2006, 07:08 PM   #6
kralspace
Member
 
Join Date: Nov 2002
Location: central Texas
Posts: 45
resolved resolved!

Thanks again!!!!
kralspace is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:57 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.