Jump to content

Css problem


Sativa

Recommended Posts

Hello i'm new to css, i'm trying to add a warning box to the support ticket tpl (like WHMCS has to tell people to check KB first).

 

I have this in notice.css

.alert-box {
color:#555;
border-radius:10px;
font-family:Tahoma,Geneva,Arial,sans-serif;font-size:11px;
padding:10px 36px;
margin:10px;
}
.alert-box span {
font-weight:bold;
text-transform:uppercase;
}
.notice {
background:#ffecec url('../../images/error.png') no-repeat 10px 50%;
border:1px solid #f5aca6;

 

And added this to the supportticketsubmit-steptwo.tpl:

 

<head>
<link rel="stylesheet" type="text/css" href="css/notice.css">
</head>

<div class="alert-box error"><span>error: </span>Write your error message here.</div>

 

But my page shows up empty, also wrapping the css code around <style type="text/css"> tags doesnt work in the .tpl file ..

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