5 replies [Last post]
dayfall jesse
dayfall jesse's picture
Offline
Regular
Last seen: 12 years 23 weeks ago
Timezone: GMT-5
Joined: 2006-11-14
Posts: 37
Points: 0

My CSS turns out fine, and I thought my site was coded properly, but I'm getting 5 strange validation errors.

Here is my code:

<?php echo $mosConfig_sitename; ?>

/templates/vcc_contemporary/css/template_css.css" />
/templates/vcc_contemporary/nav/css/menu.css" />
/templates/vcc_contemporary/nav/js/menu.js" type="text/javascript">

body {padding-left:1px;}/* for ie 5, 6 and 7, all affected*/



VINEYARDLOGIN
<?php mosLoadModules ( 'login' ); ?>
<?php mosLoadModules ( 'menu' ); ?>
<?php include_once("pathway.php"); ?>

<?php mosLoadModules ( "top" ); ?> <?php include_once("mainbody.php"); ?> <?php mosLoadModules ( "bottom" ); ?>
<?php mosLoadModules ( "rightsky" ); ?>
<?php mosLoadModules ( "right" ); ?>

Here is the link for validation:
[url]http://validator.w3.org/check?uri=http%3A%2F%2Fwww.vcommunity.org%2Fmainframe%2Ftemplates%2Fvcc_contemporary%2Findex.php&charset=%28detect+automatically%29&doctype=Inline
[/url]

peterdouglas
peterdouglas's picture
Offline
Enthusiast
Montréal, Canada
Last seen: 11 years 51 weeks ago
Montréal, Canada
Timezone: GMT-4
Joined: 2005-06-20
Posts: 162
Points: 10

It's not really my place to

It's not really my place to say anything, but you should check out this first regarding questions like this in the site check section:

http://csscreator.com/node/18565

PS: nice looking site, though you should try it without tables and JavaScript (no small task, I know). You could recreate that quite nicely with pure CSS though. (Is that a Mambo CMS? If so, I understand why the structure is that way, though a Wordpress blog is standards compliant, open source, uses PHP and CSS and can be used as CMS too).

You're only young once, but you can stay immature indefinately -- Ogden Nash

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 15 weeks 21 hours ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

With errors like that, the

With errors like that, the most probable cause is you've got one too many opening <div> tags somewhere. Check through your code, make sure everything is as it should be.

Verschwindende wrote:
  • CSS doesn't make pies

dayfall jesse
dayfall jesse's picture
Offline
Regular
Last seen: 12 years 23 weeks ago
Timezone: GMT-5
Joined: 2006-11-14
Posts: 37
Points: 0

this seemed to be the most

this seemed to be the most appropriate place, as i am done with the layout - but had trouble with validation.

As far as tables and javascript go, I didnt code any tables into the layout template - it is complete CSS. there is minimal lines of code using javascript for the menu, which is using the Suckerfish menu - the lightest one i could find. its Joomla, btw. and the tables are coming only from certain modules...i cant really help that, nor do i really care, as long as it works cross major browsers.

Wordpress doesnt have near the power of Joomla, and I needed something very flexible.

dayfall jesse
dayfall jesse's picture
Offline
Regular
Last seen: 12 years 23 weeks ago
Timezone: GMT-5
Joined: 2006-11-14
Posts: 37
Points: 0

I havent been able to find

I havent been able to find one extra anywhere - everything seems accounted for.
The code was posted above - its as simple as i could possibly make it.
any other suggestions?

Triumph (not verified)
Anonymous's picture
Guru

dayfall jesse wrote:... any

dayfall jesse wrote:
... any other suggestions?

How about showing the rendered code instead of the php?