...

View Full Version : how in dmwr mx 2004 I change color of horizontal rule ?



lse123
02-23-2008, 08:18 PM
how in dmwr mx 2004 I change color of horizontal rule ?

_Aerospace_Eng_
02-23-2008, 08:43 PM
You need to use CSS.

hr {
margin:0;
padding:0;
height:1px;
border:0;
background:#F00; /* firefox needs this */
color:#F00; /* IE needs this */
}

lse123
02-25-2008, 05:35 PM
.hr_blue {
color: #0000FF;
}
MAY REFER ONLY COLOR AS HR CLASS IN DMWR AND THE OTHER ELEMENTS BE IN THE HTML ?

_Aerospace_Eng_
02-25-2008, 10:03 PM
What? You need both or Firefox won't play nice.

Aceramic
02-26-2008, 04:57 AM
Maybe that's why the colors looked all funky in FF when I tried that...


I learn something every day when I read here. :)

_Aerospace_Eng_
02-26-2008, 05:15 AM
Or at least one Firefox likes background-color but not color, IE likes color but not background-color.

lse123
02-26-2008, 01:27 PM
I try what I say but ie 7 appears red hr lines[applied the style
.hr_blue {
color: #0000FF;
}
] rather than blue ?

_Aerospace_Eng_
02-26-2008, 05:02 PM
Then we need to see the rest of your code or a link.

lse123
02-26-2008, 05:43 PM
Proceed at:
http://www.paphoscarhire.com/index.php?aff=338297
to make a test booking and see the final webform ....
https://www.paphoscarhire.com/php/euro-booknow.php final form:problem is here

IE7 RED LINES
FIREFOX RED LINES
OPERA9 BLACK

I want blue hr lines ...

Also tell me why there is space below the Submit/Reset buttons of the final form ? how to delete this white space ? Also I use to confirm page(make a test(=name) booking) a textarea and this js: onfocus="this.blur()" but do not work I may delete the text in this area , well ?

Apostropartheid
02-26-2008, 05:57 PM
Then change the color to...blue? We're not going to do...everything?

_Aerospace_Eng_
02-26-2008, 05:58 PM
They are red because you tell them to be red in your code. Look

<hr size="3" color="#FF0000" class="hr_blue">
Remove color="#FF0000".

As to your space after your submit buttons you have this

<!-- #EndLibraryItem -->
<table width="723" height="1000" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" dir="ltr">
<tr><!--msnavigation--><td width="723" height="1087" valign="top" bordercolor="#000000">
Remove the heights.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum