Jump to content

Integration CSS problem


Recommended Posts

Hello there,

 

I am currently integrating my WHMCS into a new template, been paying for this service in the past however I thought I would give it a shot, all is going very well, however.

 

There is a problem with the CSS file that my main template uses that messes up the WHMCS CSS file.

 

In my reset.css (my template css), I have the code.

 

* { margin: 0; padding: 0; border: none; }

 

This makes the tables go funny within WHMCS and it ignores them. If I delete that code in my CSS file I get a white boarder around the edges of the whole site, however all tables are displayed correctly.

 

Can anyone help me?

whmcs.jpg

Link to comment
Share on other sites

That is a very basic page reset line, basicly to set the web browser because some browsers add padding etc automaticly so that stops it.

 

Now if this is causing your page to apear funny then it is the rest of the code that has issues.

 

To replace that above line you could try removing it and put the "margin: 0; padding: 0; border: none;" part into the body css tag.

 

So for example:

 

body { margin: 0; padding: 0; border: none; } along with what ever you have in the body box already.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated