| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
html font tags in language-OK ?? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
Xcart Gold 4.1.11-Gone = 4.7.11-Live |
|||||||
#2
|
|||||||
|
|||||||
![]() <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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() 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
__________________
Xcart Gold 4.1.11-Gone = 4.7.11-Live |
|||||||
#4
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() 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
__________________
Xcart Gold 4.1.11-Gone = 4.7.11-Live |
|||||||
#6
|
|||||||
|
|||||||
![]() Sounds like you need a good CSS tutorial or book. I'd recommend this one:
'Cascading Style Sheets - The Definitive Guide' by Eric Meyer
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() That's seems like a good book but I prefer something more appropriate like "CSS for Dummies"
__________________
Xcart Gold 4.1.11-Gone = 4.7.11-Live |
|||||||
#8
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() 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
__________________
Xcart Gold 4.1.11-Gone = 4.7.11-Live |
|||||||
#10
|
|||||||
|
|||||||
![]() Just make sure it is current and covers CSS 2.1 as that is the standard. CSS 3 is not far off either....
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|