Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am not sure how to fix this and I know this question is kind of basic. A random object that is blocking my navigation bar is appearing on the browser side but not in the code, here:
image http://img571.imageshack.us/img571/9861/s4oa.png
But then in the code:
Please help me rectify this.
The issue on your page is that the following element seems to be created automatically and it is altering the spacing for you:
<a original-title=""></a>
If you can use a style sheet you should be able to adjust just the home link as follows:
<a class="home-link" href="/index.php">...</a>
And add the following style rule:
a.home-link {
margin-top: -18px;
}
This isn't particularly pretty or flexible so I would still strongly consider trying to determine where the element is injected and see if you can prevent it from happening. Good luck!
try moving the clearfix above <ul> tag as a separate div.
<div class="clearfix"></div>
<ul>
<!--- all list -->
</ul>
EDIT
Though i doubt it would affect, but still, your <a> tag is not closed in below line :
<a heref="cashcapacity.com"><center><img src="{$theme['logo']}"/></center><a>
and
<div class="navigation_menu">
<div> <!-- either this div is uselessly mentioned or you forgot to close this div -->
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I was just wondering if there's a quick and easy way to make an <li> bullet show at the top of its content instead of the bottom. This is just a simple <ul> with 4 <li>'s. See picture below for reference.
Screenshot
HTML snippet
I figured it out! I just need to add the d-block bootstrap class to the label to override the default display-inline-block CSS of the label.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
<div id="tagline">
<h1>Around The World In 80 Clicks</h1>
</div>
Above is a code snippet from my HTML code. Problem is <a> tag is auto-generated around "tagline" div and consequently <h1> is converted into a link.
I am using CSS too but no style is applied on <div id="tagline">.
Why is it generated by itself? How can I remove it?
You must have missed a closing anchor tag </a> somewhere above the code that you have posted.
<a>......</a>
<div id="tagline">
<h1>Around The World In 80 Clicks</h1>
</div>
This must solve the problem !
Or
You may have mistaken the property cursor:pointer to a link ! Check this out too. not sure though!
Try using these validators. Maybe you committed typo errors.
For HTML.
http://validator.w3.org/#validate_by_upload
For CSS.
http://jigsaw.w3.org/css-validator/#validate_by_upload
Is there link higher up in your code? If so then close it off with This:
<a></a>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I'm building an alert page. I'm trying to make the page work even if javascript and CSS is failing.
I would like to use maybe deprecate HTML codes to do this. I need the span that contains the alert message to have a red background.
Please advise.
Try this :D
Example:
<div style="background-color:red"> </div>
You must insert the name of color like red, blue and so on.
You can use the bgcolor attribute to set the background colour, but it's far better to use CSS to style a page as the bgcolor attribute only works on certain tags.
<table bgcolor="#FF0000"><tr><td> My alert contents </td></tr></table>
For example it won't work on <span>, <div> or <p> tags, but will work on <body> and <table> tags.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Improve this question
We learned this in web design class last year and I do not remember how, What I want to do is create a webpage so that its split down the middle, and has a different webpage on each side, so I could watch you tube on the right side and Google on the other without them affecting the other. If the size bar was re-adjustable would be nice. Please could anyone help.
You can creat two columns with css and then your can use <iframe> tag
<div class="wrapper">
<div class="left">
<iframe ....../>
</div>
<div class="right">
<iframe ...../>
</div>
</div>
Then two pages will be along side of each others.
Just to explain further on the previous answer:
<div class="wrapper">
<div align="left">
<iframe src="http://www.youtube.com"/>
<div>
<div align="right">
<iframe src="http://www.google.com"/>
</div>
</div>
An iframe is what contains the webpage
A div can align parts of a webpage according to the align attribute
(NOTE: align will not be supported in HTML5, so you should use CSS to align instead)
I hope this explained things a bit better, and helped you out! :)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
You may find it hard to believe but I've been trying to figure out why this won't work for hours and if anyone could show me what I'm doing wrong, I'd be most appreciative.
On a page of my site I have a list of navigational links but I don't want the "Home" link to appear while on the home page so I assigned it a class and set this class to not show the link but it's not working.
Here's what I have for the link
<li><a href='http://classifieds.your-adrenaline-fix.com/' class='homelink'>Classifieds Home</a></li>
and just before the closing head tag of the index.php page I have;
<style type="text/css">.homelink { display:none; }</style>
yet, The link is appearing. If anyone could kindly show me how to make this work properly I'd be most appreciative and I thank you in advance.
Try seeing if its a specificity conflict by instead using the !important keyword
.homelink {
display: none !important;
}
Or add it as an inline style:
<li>Classifieds Home</li>
you should use
display: none !important;
i think there is another class or "a" tag in css