Ozum
Posts: 57
|
Posted: 11/09/2004, 12:09 PM |
|
Hello,
I have a solution for making multiline checkboxes / radiobuttons created by CCS.
First I tried to make it right way with tables, but CCS code generating mechanism doesn't let me do it. The solution below is not always consistent, but this is the only solution I can find.
For example to make 3 radiobuttons in a row, place the radiobutton tag in
<span style="width:30%> Radio Button Here </span>
Why 30% and not 33%. Because other tags or tables in page consumes a little bit place, so giving exact 33% fails. Don't forget it sometimes doesn't work as expected. So check one time after publish. If it is OK, it stays OK.
|
|
|
Ozum
Posts: 57
|
Posted: 11/09/2004, 12:16 PM |
|
A note for <span> tag:
I realized my <span> tags with style
<span style="width:200px;"> bla bla </span>
doesn't have 200 pixel width. I changed the default <doctype> and <html> tags generated by CCS, and it works again.
Instead of:
<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I use
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
I do not mean first one is false. I know it is a widely accepted standard. I just wanted to share my experience.
Regards,
Ozum
|
|
|
Suhas
|
Posted: 02/17/2005, 5:00 AM |
|
i having the problem with capturing redio buttons event in JSP
|
|
|
|