473,395 Members | 1,639 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,395 software developers and data experts.

simple question about borders

Hi,

I want to place a div or panel on my page that has a text in it which is
also a hyperlink.
So it looks like a button but isn't really.
I don't want to see the button-pressed-state on screen.

The panel I want to have dotted lines around it.

If I use de border part in the stylesheet and look at the page in IE, I see
no dots, but dashes.
Is this a compatibility bug someway?

How can I solve this? I really has to be a dotted rectangle with linktext
inside it and it must be dynamic so I can use it with several different
sizes.

One way I tried was to put several panels inside each other, using a dot as
repeated background.
One panel for each side and the most outer panel is the container.
If I do it like this, I don't see the dots on the screen.

anyone out there who can help me?

rg,
Eric
Jun 27 '08 #1
1 851
Not sure why the dotted lines are not rendering correctly, but each browser
picks up these extras a bit differently, so this is a risk area if you need
an exact look.

If you have an exact look in mind, and the browser is not rendering it how
you want, create the entire look in a graphics program and use that as a
'background' in your stylesheet.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"EricW" <ie****@home.comwrote in message
news:48**********************@news.kpnplanet.nl...
Hi,

I want to place a div or panel on my page that has a text in it which is
also a hyperlink.
So it looks like a button but isn't really.
I don't want to see the button-pressed-state on screen.

The panel I want to have dotted lines around it.

If I use de border part in the stylesheet and look at the page in IE, I
see no dots, but dashes.
Is this a compatibility bug someway?

How can I solve this? I really has to be a dotted rectangle with linktext
inside it and it must be dynamic so I can use it with several different
sizes.

One way I tried was to put several panels inside each other, using a dot
as repeated background.
One panel for each side and the most outer panel is the container.
If I do it like this, I don't see the dots on the screen.

anyone out there who can help me?

rg,
Eric


Jun 27 '08 #2

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

Similar topics

2
by: Hostile17 | last post by:
I've been trying to figure out a good way to make a CSS layout with nice-looking 1-pixel borders around the table cells. The only broadly compatible way to do this I know of is to have * the...
2
by: Haines Brown | last post by:
This may seem a pointless question, but I'm trying work around an inconsistency between browsers. I have a template that contains a division that holds a text that sometimes exists and sometimes...
10
by: Steve K | last post by:
Hi, You helped get the bottom border on the td cells for me, but now there is a tiny gap in between each cell on this border. How do I get rid of that? ...
1
by: BenOne© | last post by:
Hi all, I'm learning CSS, and relearning HTML so I can build a website for myself, and I was wondering if someone could help me with what seems like a simple layout that I want to maintain no...
7
by: Tony LaPaso | last post by:
Hi All, I have a simple style sheet example below and I'm seeing different results in IE 6 vs. Firefox 1.0.3. I'm not sure which browser is rendering it correctly but I'm tending to think it's...
2
by: FrankJeroen | last post by:
Hi there, I have a simple problem, but I can't fix it. I have worked with Visual Basic 6. But I recently switched to Visual Basic ..Net 2003. I have a Form with an Spreadsheet. I want to...
4
by: Kalaora luc | last post by:
I transfert data in a Excel File. I want that the border of the cell in Excel have only left and right border. if i do : range.Columns.Borders.LineStyle=Excel.XlLineStyle.xlContinuous; My...
1
by: Glen Vermeylen | last post by:
Hi, For a project at school we have to automate the assignment of seats in classrooms to students during the exams. The lady who previously did everything manually kept the layouts of the...
97
by: Cameron Laird | last post by:
QOTW: "Python makes it easy to implement algorithms." - casevh "Most of the discussion of immutables here seems to be caused by newcomers wanting to copy an idiom from another language which...
0
by: derelict | last post by:
Hey all, im getting desperate now. I have a macro running in Word 2003, when I run the macro it *should* put a 'bottom' cell border in each cell that has the style used - this included a border at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.