In FrontPage 2003 do I get a solid border for a selectbox

D

Dave'sFriend

I can specify (and get) a solid border for a text area control, but the
selectbox control ignores the same specification and renders as 3-d. What am
I doing wrong?
 
M

Murray

Probably nothing. Form elements accept formatting quite begrudgingly, if at
all. Worse, support in various browsers is pitiful. If you style your
forms like this, make sure you do alot of browser previews in a variety of
browsers.
 
P

p c

Yeah... View it in different browsers. Here's how to do it anyway
Add this between th eehad tags (in HTML view), or copy the sborder
decalration to your styleshe for you with many pages.

<style>
..sborder {
border: 1px solid green;
background-color:green;
}
</style>

Then add this to the INPUT tag
class=sborder

It will look like this
<input type="checkbox" name="C1" value="ON" class=sborder>this is one
cool checkbox suggested by PC.

Then view it in the browser.

...PC
 
M

Murray

class=sborder

Should be -

class="sborder"
<input type="checkbox" name="C1" value="ON" class=sborder>this is one

Should be -

<input type="checkbox" name="C1" value="ON" class="sborder">this is one
 
S

Steve Easton

Are you sure??

In all browsers??

;-)


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
D

Dave''sFriend

I put in the additions and got no satisfaction. Keep in mind, this is a
selectbox not a checkbox. I only need to get right with IE6. Dave'sFriend
 
M

Murray

It doesn't work with the HTML validator, however. And there's no guarantee
it'll work with any given browser.

Leaving off quotes on attributes is functionally equivalent to not
terminating <p> tags.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top