Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > css problem

Reply
Thread Tools

css problem

 
 
richard
Guest
Posts: n/a
 
      03-20-2011
http://1littleworld.net/sample/indexA.html

Where I show "Sample Item Name", how do I show this item as a smaller font
size?
I tried styling the list, no change.
I tried a span across the name, no change.

what can I do to get what I want?
 
Reply With Quote
 
 
 
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      03-20-2011
richard wrote:

> http://1littleworld.net/sample/indexA.html
>
> Where I show "Sample Item Name", how do I show this item as a smaller
> font size? I tried styling the list, no change. I tried a span across
> the name, no change. what can I do to get what I want?


Is w3schools closed today? (oh, it *is* Sunday, innit?)

<li><span style='font-size: 50%'<a href="#">SAMPLE ITEM
NAME</a></span></li>

--
-bts
-Four wheels carry the body; two wheels move the soul
 
Reply With Quote
 
 
 
 
richard
Guest
Posts: n/a
 
      03-20-2011
On Sun, 20 Mar 2011 16:38:00 -0400, Beauregard T. Shagnasty wrote:

> richard wrote:
>
>> http://1littleworld.net/sample/indexA.html
>>
>> Where I show "Sample Item Name", how do I show this item as a smaller
>> font size? I tried styling the list, no change. I tried a span across
>> the name, no change. what can I do to get what I want?

>
> Is w3schools closed today? (oh, it *is* Sunday, innit?)
>
> <li><span style='font-size: 50%'<a href="#">SAMPLE ITEM
> NAME</a></span></li>


Your solution does not work.
Take a look again. Same results.
 
Reply With Quote
 
123Jim
Guest
Posts: n/a
 
      03-20-2011

"richard" <> wrote in message
news:...
> http://1littleworld.net/sample/indexA.html
>
> Where I show "Sample Item Name", how do I show this item as a smaller font
> size?
> I tried styling the list, no change.
> I tried a span across the name, no change.
>
> what can I do to get what I want?


ok I'll begin


<style type="text/css">
.smallertext{ font-size: 60%; }
</style>

<a class="smallertext" href="#">SAMPLE ITEM NAME</a>This seems too simple,
there is no doubt a better way. You probably need to style each level of
list items if you want to improve the style. you're going to say never mind
I fixed it myself now? )


 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      03-20-2011
Beauregard T. Shagnasty wrote:

> richard wrote:


[nothing of interest]

> <li><span style='font-size: 50%'<a href="#">SAMPLE ITEM
> NAME</a></span></li>


I appreciate your efforts in trying to mislead "richard" by throwing subtly
invalid code ("subtly" in a relative sense) at him, but as a whole, Usenet
would be a little better place if we all just ignored him.

In addition to feeding the troll, efforts like the above may unintentionally
mislead novices, who might take your advice seriously. And this is not nice,
since in addition to introducing a subtle (or "subtle") markup error, you
have maintained the base code as such in all its cluelessness, with
pointless use of <span>, broken-by-design link, and SHOUTING.

--
Yucca, http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
richard
Guest
Posts: n/a
 
      03-20-2011
On Sun, 20 Mar 2011 13:02:03 -0700, richard wrote:

> http://1littleworld.net/sample/indexA.html
>
> Where I show "Sample Item Name", how do I show this item as a smaller font
> size?
> I tried styling the list, no change.
> I tried a span across the name, no change.
>
> what can I do to get what I want?


Thanks for the clues.
Now working the way I want.
 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      03-20-2011
richard the sto0pid wrote:

> Beauregard T. Shagnasty wrote:
>
>> richard wrote:
>>> http://1littleworld.net/sample/indexA.html
>>>
>>> Where I show "Sample Item Name", how do I show this item as a smaller
>>> font size? I tried styling the list, no change. I tried a span across
>>> the name, no change. what can I do to get what I want?

>>
>> Is w3schools closed today? (oh, it *is* Sunday, innit?)
>>
>> <li><span style='font-size: 50%'><a href="#">SAMPLE ITEM
>> NAME</a></span></li>


Yeah, I forgot the closing > when I typed the post...

> Your solution does not work.
> Take a look again. Same results.


Remove the quote marks from your CSS.
span { font-size:"50%";}
to
span { font-size:50%;}

Your file: jquery.treeview.css is missing.

--
-bts
-In a broadband world, you are just a dialup
 
Reply With Quote
 
Doug Miller
Guest
Posts: n/a
 
      03-20-2011
In article <>, richard <> wrote:
>http://1littleworld.net/sample/indexA.html
>
>Where I show "Sample Item Name", how do I show this item as a smaller font
>size?
>I tried styling the list, no change.
>I tried a span across the name, no change.
>
>what can I do to get what I want?


I'm guessing you didn't validate your CSS. If you had, you would have seen
this:

Value Error : font-size "50%" is not a font-size value : "50%" "50%"
 
Reply With Quote
 
Doug Miller
Guest
Posts: n/a
 
      03-21-2011
In article <>, evan@*******************************.invalid wrote:
>On Sun, 20 Mar 2011 14:32:20 -0700, richard <>
>wrote:
>
>>Thanks for the clues.
>>Now working the way I want.

>
>"Clues?" You were given the direct answer, not a clue.
>
>Ungrateful prick, no wonder no one wants to help your dumb ass.


Back off, Evan, you're the one looking like a jerk right now. How on earth can
you call him "ungrateful" in response to a post that BEGINS by expressing
gratitude for the assistance he received? If you can't find anything better to
say, just STFU.
 
Reply With Quote
 
Doug Miller
Guest
Posts: n/a
 
      03-21-2011
In article <>, evan@*******************************.invalid wrote:
>On Mon, 21 Mar 2011 12:46:35 GMT, (Doug Miller)
>wrote:
>
>>Back off, Evan, you're the one looking like a jerk right now. How on earth can
>>you call him "ungrateful" in response to a post that BEGINS by expressing
>>gratitude for the assistance he received? If you can't find anything better to
>>say, just STFU.

>
>You'll notice he replied to himself, not to any of the 2 or 3 people
>who gave him the answer.


So? Maybe those other posts had dropped off of his newsserver by the time
he replied. At least he replied, and said "thank you".

>And, he says "thanks for the clues". He
>wasn't given a CLUE, he was given the answer.


Depends on which posts you're talking about. I didn't give him the answer, at
least not the complete answer. I think what I told him qualifies as a "clue".
>
>But you're right.. I guess it's a start.


Yes, it is. Richard may not be the sharpest knife in the drawer, but your
ongoing vendetta serves mostly to make you look bad, not him.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Layout question - how to duplicate a table layout with CSS Eric ASP .Net 4 12-24-2004 04:54 PM
confused - html validates, css validates but validate css from the html causes errors Titus A Ducksass - AKA broken-record HTML 6 11-15-2004 12:59 PM
Set CSS property equal to another CSS property? Noozer HTML 10 10-13-2004 09:20 PM
Is there a way to set the a CSS property to be explicitly the same as another CSS property? Joshua Beall HTML 1 12-10-2003 07:21 PM
print.css and screen.css tom watson HTML 1 09-09-2003 02:48 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57