Joomla Article Question

Posted on 2011-10-31
Last Modified: 2012-05-12
Hi Experts,

I've made a landing page for in straight HTML & CSS.  I want to paste the html into an article page (using code view) and add the css to the template.css file.  Related images & assets are placed in images\stories...

When I do this  none of the images (using image tags) and background images (using css) appear.  The dims & positioning seems to be rendered fine but none of the paths seems to work.  the site uses a RokBox them but I don't see how this would affect file paths as the syntax I use is identical to the template.css syntax.  So.. is it possible that trying to embed html with external css simply doesn't work in Joomla?  Seems to me it should work.  Where should I
start in the troubleshooting?
BTW it's Joomla 1.5


Question by:HelpNearMe
    LVL 12

    Expert Comment

    put your css at template.css  of your template
    LVL 13

    Accepted Solution

    Embedding HTML with external css should work just fine.  

    Here's a few tips/tricks:

    Look here to embed new css file in with articles/modules:

    If you do add it to your template's css...and the images are coded just like the other one's...and it's still not showing up...try coding the path to be an absolute path versus relative to see if that helps...

    Also, have you tried doing a complete page refresh?  Hit Shift + F5, that should completely refresh the page for you.  Also, turn off your cache...your pages might be cached and you might have it coded correctly, but it won't render because the pages are cached...just a few thoughts.

    Let me know if this helped or if we need to dig deeper into it.
    LVL 12

    Expert Comment

    try your article css to have only classes

    Author Closing Comment

    Shift + F5 did it :) thanks

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    This article shows how a content item can be identified directly or through translation of a navigation type. It then shows how this information can be used to create a menu for further navigation.
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now