473,326 Members | 2,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

appearance of hr

Els
I have the following style for a <hr> in my page:
hr {
color: rgb(171,7,247);
position: absolute;
top: 105px;
width: 971px;
height: 0px;
}
In IE, NS, and Mozilla, the line has the intended color and is a
simple line.
In Opera, the color is greyish white and seems 3-dimensional. Can I
change that?

Sincerely,
Els
Jul 20 '05 #1
2 6326
Els wrote:
I have the following style for a <hr> in my page:
hr {
color: rgb(171,7,247);
position: absolute;
top: 105px;
width: 971px;
height: 0px;
}
In IE, NS, and Mozilla, the line has the intended color and is a
simple line.
In Opera, the color is greyish white and seems 3-dimensional. Can I
change that?

Try
hr {
color: rgb(171,7,247);
background: rgb(171,7,247);
height:1.5pt;
}

But why did you try to make the line invisible (height = 0)
in the first place?

--
Juha Häikiö
Jul 20 '05 #2
Els

"Mikko Rantalainen" <mi**@st.jyu.fi> schreef in bericht
news:bh**********@mordred.cc.jyu.fi...
Els wrote:
"Juha Häikiö" > wrote:
Els wrote:

I have the following style for a <hr> in my page:
hr { [...] }
In IE, NS, and Mozilla, the line has the intended color and is a
simple line.
In Opera, the color is greyish white and seems 3-dimensional. Can
hr {
color: rgb(171,7,247);
background: rgb(171,7,247);


Thanks, that solves the color problem, and now I also found the reason for the greyish shadow:
it is a border. Now I put border-width: 0px, and it looks the way I want.


If you don't want the border, you should really say { border:

none; }. And if you want the border but not with a 3d look, just say something like { border: thin solid black; } (or perhaps replace thin with

1px.)

Thanks, that's very helpful.
Sincerely,
Els
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Perttu Pulkkinen | last post by:
Does anybody know a php-based image gallery, where final looks of the actual site would not be determined by the application? I mean that there would only be a php-library of objects/functions that...
2
by: Lafoopsie | last post by:
Hi! In my C++ program, I can launch an external program, for example: #include <cstdlib> int main() { std::system("appletviewer"); }
0
by: wumingshi | last post by:
Hi, In XForms, each control element has an appearance attribute. It has a few pre-defined values (full, compact, minimal). My understanding is that the interpretation of these appearance values...
2
by: Don | last post by:
is there any way to disable the controls on a form without changing their appearance? i would like to make it impossible for a user to click buttons and edit text boxes while the controls retain...
3
by: Nicolas | last post by:
I want to display in my application a PropertyGrid showing only the "Appearance" of a control (ie. textBox) so the user can change it. Bare with me, I'm new in csharp. Where do I go from:...
5
by: Cecilia Bergengruen | last post by:
2 questions: 1)I inserted a menu in an mdi window form. I right clicked on a menu item and pressed edit names. I therefore edited all my menu item names. Then I right clicked and pressed edit...
12
by: marcwentink | last post by:
Can you change the appearance of a radiobutton or checkbox? I do not mean the apearance changes from checked to not checked or disabled or not disabled, but change the appearance (of all these...
2
by: Grumpy Aero Guy | last post by:
I have upgraded an extensive solution to VS 2005 from VS2003 ... no problems. I notice that in VS2005, the forms, when viewed in design mode, have a different appearance than they did in 2003,...
3
by: =?Utf-8?B?R3JlZw==?= | last post by:
I am used to using third party controls when it comes to setting up appearences. But, now I am using Visual Basic.Net controls that come standard with the product. I've come across a frustration...
3
by: TC | last post by:
I have a form which I'd like to display as a sizable dialog box. The behavior I get when I use FormBorderStyle = SizableToolWindow is perfect. However, when I use that option, the title bar of my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.