1.

Solve : inline css help?

Answer»

am I right that the inline cone will go like this for a Paragraph

This is a paragraph.


Well that won't work because you have an EXTRA " in there.

Code: [Select]<p style="color:white;font-family:Times New Roman, Arial, serif;font size:20px">This is a paragraph.</p>
Thank you but I just want TWO Font Types so can I use this

This is a paragraph.

Yes.thanks for all the help just two more things about Fonts???

One if I want my Text to have a Black Box arount it do I use this?

This is a paragraph.



And say I want every bit of text on my page to be that same font and Size  can I just do this at the start


then at the end of the whole page before the BODY tag I put 



Will this take car of all text in my Page  I know if you have any text in Table Cells it WONT work on them because you have to do them one at a time.

But what if you have a lot of text for LINKS all over the page? Quote
One if I want my Text to have a Black Box arount it do I use this?
<p style="background:black;color:white;font-family:Times New Roman, Arial;font size:20px">This is a paragraph.</p>
Why not just try it and see what happens?

Quote
And say I want every bit of text on my page to be that same font and Size  can I just do this at the start
<p style="color:white;font-family:Times New Roman, Arial;font size:20px">
then at the end of the whole page before the BODY tag I put  </p>
No, then you just add the style to the tag.

Code: [Select]<body style="color:white;font-family:Times New Roman, Arial;font size:20px">
  ...
</body>
I use this inline code to make my Font  the type I want and it works.
It make the text in a black box and it works.




Main Page.



But I want to put say two of these right next to eatch other like this.




Main Page.





Page Two.



The only thing is the Black Box that the text is in  goes all the way across the screen  so it put the next Link right under it.

How can I just have the Black Box go just as long as the text???You can add styles to ANY HTML tag. It doesn't have to be

.

Just use this.
Code:
[Select]<A HREF="index.html" style="background:black;color:white;font-family:Times New Roman, Arial;font size:20px">
Main Page.</a>

<A HREF="index.html" style="background:black;color:white;font-family:Times New Roman, Arial;font size:20px">
Page Two.</a>so if put use it like this


Main Page.[/
URL]


Page Two.[/url]

will it place both these links right next to eacth other   this is what I want???
Try it.I know I can ad  a style command in the HEAD Tags to get my fpont on the whole pag to be whatever I want.

But I see that wen I have text inside a Cell in a table it wont efect it.

Now I know I can do  inline  css  to get the text in the Table Cells to look how I wont.

But is this Normale??



Discussion

No Comment Found