CSS Span is not showing

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
dmaireroa
Forum Members
Forum Members
Posts: 110
Joined: Wed Jul 15, 2009 12:35 am

CSS Span is not showing

Post by dmaireroa »

Hi there

My css files are working fine but when I add a span tag to my page, my page is not displaying properly.

WORK
{global_content name='Menu - Work'}



 
  THIS SITE IS UNDER CONTRUCTION


Does anyone know what is causing this error?

Many thanks in advance
CHEERS :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Span is not showing

Post by Dr.CSS »

Not w/o a link...

But I have real good ones for you...

http://www.w3schools.com/html/default.asp
http://www.w3schools.com/css/default.asp
dmaireroa
Forum Members
Forum Members
Posts: 110
Joined: Wed Jul 15, 2009 12:35 am

Re: CSS Span is not showing

Post by dmaireroa »

mark wrote: Not w/o a link...

But I have real good ones for you...

http://www.w3schools.com/html/default.asp
http://www.w3schools.com/css/default.asp
Hi Mark, not sure if these links are to learn html / css?

I was asking why my css span is not working?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Span is not showing

Post by Dr.CSS »

Yes actually those were some where you could pick up some excellent ideas about html and css...

But like I said there is know way to tell why your span isn't working as all you give is the html and we have no idea what it is doing nor what it is supposed to do, is it supposed to make all the text green, 40px, blink, etc., spans do have some default settings for each browsers, some act like it's a div and give it some padding or margin, etc. so w/o more info it's hard to give you an answer...
dmaireroa
Forum Members
Forum Members
Posts: 110
Joined: Wed Jul 15, 2009 12:35 am

Re: CSS Span is not showing

Post by dmaireroa »

Dr. CSS wrote: Yes actually those were some where you could pick up some excellent ideas about html and css...

But like I said there is know way to tell why your span isn't working as all you give is the html and we have no idea what it is doing nor what it is supposed to do, is it supposed to make all the text green, 40px, blink, etc., spans do have some default settings for each browsers, some act like it's a div and give it some padding or margin, etc. so w/o more info it's hard to give you an answer...
Your absolutely right, I should of added my site link instead lol.
http://www.dmaireroa.com/workWebsite.php. This page is not displaying properly in cmsms when I use my css span.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Span is not showing

Post by Dr.CSS »

Try using a div.figure for some reason they don't want a in a span...

I know what the difference is, just didn't want to explain it at the time...

http://validator.w3.org/check?verbose=1 ... ebsite.php
Last edited by Anonymous on Sat Jul 25, 2009 2:59 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CSS Span is not showing

Post by calguy1000 »

It's quite simple really.

is a block element.... which can contain other block elements. like , or inline elements.
is an inline element, which cannot contain block elements.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
dmaireroa
Forum Members
Forum Members
Posts: 110
Joined: Wed Jul 15, 2009 12:35 am

Re: CSS Span is not showing

Post by dmaireroa »

I see now. Thanks guys, I will try to get this working and then post back.

CHEERS
dmaireroa
Forum Members
Forum Members
Posts: 110
Joined: Wed Jul 15, 2009 12:35 am

Re: CSS Span is not showing

Post by dmaireroa »

Hey guys, I got it going. I copied my old css styles instead of the new one.

Thanks heaps :)
Post Reply

Return to “Layout and Design (CSS & HTML)”