for godssake...

L

lisztnet

i have learned css /html for 2 weeks and still don't dare to write a
line of code... kind of shyness, drives me nuts. Too many things to
remember. too many details

I wanted to build a list in a vertical navigation bar, 2 items with
text and a flag on the left.
-the text has background color, so how will the flags been aligned
perfectly to the decoration ?
-if i use images, i can't change the color on fly, and i have to print
text inside the images at constant (abolute) place... since i'm too
lazy, it's not done yet.

ImageMagik have a nice text to image feature, well it could save some
code.

maybe tables ?

L
 
J

Jonathan N. Little

i have learned css /html for 2 weeks and still don't dare to write a
line of code... kind of shyness, drives me nuts. Too many things to
remember. too many details

Many you should start simply and after your gain some experience try for
more ambitious projects.
I wanted to build a list in a vertical navigation bar, 2 items with
text and a flag on the left.

Okay.
Style:

ul.navbar { margin:0 padding:0; list-style: none; }

<ul class="navbar">
<li>
<img src="flag.gif" alt="a flag">
<a href="http//:www.example.com/hither.html">Hither</a>
</li>
<li>
<img src="flag.gif" alt="a flag">
<a href="http//:www.example.com/yonder.html">Yonder</a>
</li>
-the text has background color, so how will the flags been aligned
perfectly to the decoration ?

What decoration? As above, they would be on the same line...

IF you want the images aligned to the top of the text then...

ul.navbar li img { vertical-align: top; }
-if i use images, i can't change the color on fly, and i have to print
text inside the images at constant (abolute) place... since i'm too
lazy, it's not done yet.

What color?
ImageMagik have a nice text to image feature, well it could save some
code.

maybe tables ?

How will that help?

Maybe you should give it your best shot at what you are trying to do
upload to your server and post the url here. We might be better able to
assist.
 
S

Sparky

start simple...start easy...
if the book has examples try copying them down and opening them...
then try changing parts of the code, may be a color or the size of a
cell, or even just the text in a link
 
D

dorayme

-the text has background color, so how will the flags been aligned
perfectly to the decoration ?

What decoration? [/QUOTE]

I was thinking, hmm... JL has understood what looked like
incoherence and incompleteness in the question and then ...
 
J

Jonathan N. Little

Sparky said:
start simple...start easy...
if the book has examples try copying them down and opening them...
then try changing parts of the code, may be a color or the size of a
cell, or even just the text in a link


On Oct 17, 3:21 pm, "Jonathan N. Little" <[email protected]>
wrote:
<snip my full message quoted>

Why did you top post this then full quote my message?

Dang GG!
 
J

Jonathan N. Little

dorayme said:
What decoration?

I was thinking, hmm... JL has understood what looked like
incoherence and incompleteness in the question and then ...
[/QUOTE]

I was trying my best to guess at the OP's wishes. Maybe a language
problem @aliceadsl.fr
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top