473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Same id display at one page and not at another

Hi,

I am quite new to css. I have two pages where id for an image is same. I want to display it one page and hide on another. How can I do it.
I cannot add another class or id as html is fixed.
at first page: <img id="logo" width="26" height="26" border="0" title=" Home" alt=" Home">
at 2nd page: <img id="logo" class="mastheadLogo" border="0" align="left" title=" Home" src="/images/custom/logo.PNG" alt=" Home">
May 30 '12 #1
1 1710
Just add this to your CSS

Expand|Select|Wrap|Line Numbers
  1. .mastheadLogo { display: none; } 
Jun 6 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Caroline | last post by:
Rather than opening a new window, how can I add a text (or HTML code) in the same HTML page, in a specific location? The code I tried is the following: <head> <script language="JavaScript">...
1
by: hanna.huovila | last post by:
This is a bit tricky to explain... There is a timeline form where the user select timeline. On the same page there is another form which is used after the timeline has been selected. So when the...
1
by: jmacduff | last post by:
I would like to be able to display page load times within our asp.net application for debugging purposes , I am seeing some random slowness in our application and a load time metric would really...
1
by: sudermatt | last post by:
This one is completely baffling. DB Enviornment: MSSQL database Code Environment: ASP / VBscript (obviously) Problem: data from an nText field disappears from conn.execute(sql) recordset. ...
3
by: phil67b | last post by:
Hello everybody, I have a page rech.php where I'm doing a multi-criteria research Ex. choose your car model, choose your country. After validation of my form, on the same page, the lines will be...
1
by: Manish Visa | last post by:
Hi friends I have problem that i have to display the source code of the html page in the same html page Like table have two rows. In first row there are two cols. first cols contain image....
13
by: maddiashok | last post by:
Hi, How to redirect the Html page in spcicific location, while clicking hyperlink or link button. Please help me i am fresher for Asp.net. its urgent Thank you....
5
by: rahullko05 | last post by:
Hi, I am developing forum website as my final year project. I am having problem in generating different URLs but keeping the same page.. Scenario: I am showing threads for different languages in...
2
by: ghjk | last post by:
I have a web page which use to insert data to the DB. When I insert data first time it' s working. But I insert another data after that, the data inserted correctly but the same php page display...
2
by: yadagereavinash | last post by:
Hey dude... need one help plz... I have one jsp page and a html page. in a html page there are 3 different links. when i click on each of the links i want it to traverse to the same jsp page...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.