Connecting Tech Pros Worldwide Forums | Help | Site Map

CSS Poll. Help on code ... Example online.

shapper
Guest
 
Posts: n/a
#1: Oct 21 '08
Hello,

I am displaying a poll using CSS and lists:
http://www.27lamps.com/Beta/Poll/Poll.html

At the moment I have two problems:

1. I am not able to set a padding between each Bar and the border
which I am using background-image to define it.

2. The percentage labels is not centered in vertical

Could someone, please, help me out?

Any improvements are welcome.

Thanks,
Miguel

dorayme
Guest
 
Posts: n/a
#2: Oct 21 '08

re: CSS Poll. Help on code ... Example online.


In article
<5af31f2e-0b3a-40d8-bdba-79ac2bc72244@l64g2000hse.googlegroups.com>,
shapper <mdmoura@gmail.comwrote:
Quote:
Hello,
>
I am displaying a poll using CSS and lists:
http://www.27lamps.com/Beta/Poll/Poll.html
>
Wow, Miguel, you have supplied a URL! This is a rare event in your case!
Never mind that it does not validate nor that the CSS has faults that
you can see by checking with validators.
Quote:
At the moment I have two problems:
>
1. I am not able to set a padding between each Bar and the border
which I am using background-image to define it.
>
2. The percentage labels is not centered in vertical
>
Could someone, please, help me out?
>
Any improvements are welcome.
>
It is simply ridiculous not to use an HTML table for this. Just plain
absurd. It is so silly that it even beats every single one of John
Cleese's silly walks and all the silly walks even within the Ministry of
Silly Walks.

http://www.youtube.com/watch?v=IqhlQfXUk7w

--
dorayme
shapper
Guest
 
Posts: n/a
#3: Oct 22 '08

re: CSS Poll. Help on code ... Example online.


On Oct 21, 10:58*pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
Quote:
In article
<5af31f2e-0b3a-40d8-bdba-79ac2bc72...@l64g2000hse.googlegroups.com>,
>
*shapper <mdmo...@gmail.comwrote:
Quote:
Hello,
>
Quote:
I am displaying a poll using CSS and lists:
http://www.27lamps.com/Beta/Poll/Poll.html
>
Wow, Miguel, you have supplied a URL! This is a rare event in your case!
Never mind that it does not validate nor that the CSS has faults that
you can see by checking with validators.
>
Quote:
At the moment I have two problems:
>
Quote:
1. I am not able to set a padding between each Bar and the border
which I am using background-image to define it.
>
Quote:
2. The percentage labels is not centered in vertical
>
Quote:
Could someone, please, help me out?
>
Quote:
Any improvements are welcome.
>
It is simply ridiculous not to use an HTML table for this. Just plain
absurd. It is so silly that it even beats every single one of John
Cleese's silly walks and all the silly walks even within the Ministry of
Silly Walks.
>
http://www.youtube.com/watch?v=IqhlQfXUk7w
>
--
dorayme
It seems I can't even post once without hearing something ... getting
tired. Really ...

I am following this article:
http://www.alistapart.com/articles/a...avisualization

Which seems a good source when it comes to CSS ...

Anyway, if you don't want to help it is ok ...

I prefer to use lists instead of tables ... it is just a personal
option.

Thank You Anyway,
Miguel
rf
Guest
 
Posts: n/a
#4: Oct 22 '08

re: CSS Poll. Help on code ... Example online.



"shapper" <mdmoura@gmail.comwrote in message
news:43646429-dd4a-430f-972f-40ca9c8e051c@y71g2000hsa.googlegroups.com...
On Oct 22, 3:26 am, dorayme <doraymeRidT...@optusnet.com.auwrote:
Quote:
In article
<61cf0e43-94cd-455d-9f17-b0edfca3a...@a18g2000pra.googlegroups.com>,
[stuff]
Quote:
Quote:
>dorayme
Quote:
>I see. I tried to find an example of creating a poll using tables but
>I couldn't find any. Do you know such example?
<sigh>

No. dorayme, don't. You have too much time on your hands already.

Quote:
>Should I post a thread on alt.html asking for the HTML markup of a
>poll?
No. You should start with a <table></tableelement, fill it in as you best
can and then ask over at alt.html why it does not work.

Anybody will help you fix your code. Nobody will give you code.


shapper
Guest
 
Posts: n/a
#5: Oct 22 '08

re: CSS Poll. Help on code ... Example online.


On Oct 22, 12:34*pm, "rf" <r...@invalid.comwrote:
Quote:
"shapper" <mdmo...@gmail.comwrote in message
>
news:43646429-dd4a-430f-972f-40ca9c8e051c@y71g2000hsa.googlegroups.com...
On Oct 22, 3:26 am, dorayme <doraymeRidT...@optusnet.com.auwrote:
>
Quote:
In article
<61cf0e43-94cd-455d-9f17-b0edfca3a...@a18g2000pra.googlegroups.com>,
>
[stuff]
>
Quote:
Quote:
dorayme
I see. I tried to find an example of creating a poll using tables but
I couldn't find any. Do you know such example?
>
<sigh>
>
No. dorayme, don't. You have too much time on your hands already.
>
Quote:
Should I post a thread on alt.html asking for the HTML markup of a
poll?
>
No. You should start with a <table></tableelement, fill it in as you best
can and then ask over at alt.html why it does not work.
>
Anybody will help you fix your code. Nobody will give you code.
Please, please don't tell ... ui ui ... Jesus, I am dealing with
children.

RF, I was not asking for code!!!!! I was asking if someone knew a good
article on using tables similar to the one in AListApart since I
couldn't find any.

Back to what really matters. Yes I have my code! Here it is:
http://www.27lamps.com/Beta/Poll/Table.html

But it is still not similar to my objective which is the poll in
AListApart ...

Thanks,
Miguel
Johannes Koch
Guest
 
Posts: n/a
#6: Oct 23 '08

re: CSS Poll. Help on code ... Example online.


shapper schrieb:
Quote:
If I remember well I had a few problems with HTML 4.01 and Google
Adsense, because of iFrame, which I need to have on this web site.
So I went to Xhtml strict ...
Do you think, XHTML 1.0 Strict contains the iframe element, whereas HTML
4.01 Strict does not?

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
shapper
Guest
 
Posts: n/a
#7: Oct 23 '08

re: CSS Poll. Help on code ... Example online.


On Oct 23, 1:17*pm, Johannes Koch <k...@w3development.dewrote:
Quote:
shapper schrieb:
>
Quote:
If I remember well I had a few problems with HTML 4.01 and Google
Adsense, because of iFrame, which I need to have on this web site.
So I went to Xhtml strict ...
>
Do you think, XHTML 1.0 Strict contains the iframe element, whereas HTML
4.01 Strict does not?
>
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
* * * * * * * * * * * * * * *(Te Deum, 4th cent.)
I remember reading at the time something related to AdSense ...
I know I had a problem with HTML 4.01 strict that I couldn't solve but
I don't remember exactly what ...

I have been Googling for articles on this to try to remember what
issued led me to XHTML but until now ...

In a few days I will finish this and I am planning to create a version
with Html Strict and check if I can make the changes so it validates.
.... if Html 4.01 strict is really the way to go.
Swifty
Guest
 
Posts: n/a
#8: Oct 24 '08

re: CSS Poll. Help on code ... Example online.


shapper wrote:
Quote:
I am not Spanish! Guess again!
You are Portugese of course. I can normally find your nearest city, but
not in this case, at least not yet.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
shapper
Guest
 
Posts: n/a
#9: Oct 24 '08

re: CSS Poll. Help on code ... Example online.


You are Portugese of course. I can normally find your nearest city, but
Quote:
not in this case, at least not yet.
Uh scary ... :-) ... I am from Lisbon

Swifty
Guest
 
Posts: n/a
#10: Oct 27 '08

re: CSS Poll. Help on code ... Example online.


shapper wrote:
Quote:
Quote:
>You are Portugese of course. I can normally find your nearest city
Uh scary ... :-) ... I am from Lisbon
The trick is quite simple. I trace the route to the IP address that made
the post (which would normally have been yours unless you are using some
form of anonomising proxy) and if I'm lucky, the intervening IP names
would resolve to place names. If the last hop before your IP address
(typically, your ISP) had contained ".lisbon." then I would have known.
I didn't see any "local" information in your case, so you needn't worry.

If you "tracert 81.146.18.153" you'll see your traffic routed to the UK,
then to Reading. After that you don't learn anything, but Reading is
about 30Km from me.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Closed Thread