![]() |
html font tags in language-OK ??
I had a few problems getting the CSS to change the colour of certain bits of text and not others
so I tried inserting html tags into the edit language via webmaster mode.This was on the intro to gift certificates which for some reason wasn't following on from the CSS and it worked fine Is it OK to do this or will it create other problems ? I did post a screen shot of what I was trying but xcart deleted it ! Seems they didn't delete it - I just couldn't find it in the new forum |
Re: html font tags in language-OK ??
<font> tags are depreciated and should not be used. Use <span> or <div> tags to format text, or just add a class to the <p> tag like this:
<p class="classname"> And yes, you can use html formatting in the language variables. |
Re: html font tags in language-OK ??
It'll take me a while to get my head round that.
Do I put the span and div stuff in the pop up box in webmaster mode or the tpl file ? I tend to use dreamweaver as my editor so I can see my wysiwyg changes in code form. Then cut n paste the bits of code into the wherever and see what happens. Dreamweaver produces lots of <font> tags and I haven't seen it produce span and div stuff which leaves me in the dark a bit. I will search the net for a tutorial somewhere. I wish I had had come to you for my site makeover but I got too far in to turn back and start again and no one seems to want to fix the little bits |
Re: html font tags in language-OK ??
You need to upgrade your version of Dreamweaver, the new versions handle W3C compliant code. You can use the code in the languages section or the template itself.
|
Re: html font tags in language-OK ??
I've had a good go at this tonight and managed to get my Dreamweaver up to speed using the newer code which made things a bit easier . Changed the font using span tags, couldn't get the p tags to work and had a little success with CSS although I think there is some sort of heirarchy going on somewhere. Why do some of the CSS lines have a dot in front and others don't ??
Cheers |
Re: html font tags in language-OK ??
Sounds like you need a good CSS tutorial or book. I'd recommend this one:
'Cascading Style Sheets - The Definitive Guide' by Eric Meyer |
Re: html font tags in language-OK ??
That's seems like a good book but I prefer something more appropriate like "CSS for Dummies"
|
Re: html font tags in language-OK ??
No, you don't want a Dummies book for this. Seriously, the Meyer book is very straightforward, easy to read and doesn't take a degree in computer programming to understand. It is the best book out there for beginners or experts alike.
|
Re: html font tags in language-OK ??
I checked out Amazon here in the UK and the Meyers book wasn't available so I got
"Head First HTML with CSS & XHTML" by Eric Freeman |
Re: html font tags in language-OK ??
Just make sure it is current and covers CSS 2.1 as that is the standard. CSS 3 is not far off either....
|
All times are GMT -8. The time now is 02:09 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.