473,654 Members | 3,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can section:hover {} impact another HTML element?

5 New Member
I know when in your CSS you write section:hover {} all of the things inside the curly brackets will apply to the "section"

Is there a way to impact a different part of your html like for example if I wanted a text to disappear maybe I would write "(text) display:0;"

If it is possible to have a different element be impacted I would like to know how you get that done.

Thanks.
Matt
Oct 24 '19 #1
0 3592

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

Similar topics

3
11825
by: jonjon | last post by:
Hi, Is there any way of adding a property to an HTML element ? I heard about the "prototype" method but it doesn't work for HTML elements such as Images, or Paragraphs... Netscape implements HTMLElement objects but it seems to me that no equivalent exists in Internet Explorer ?? (I hate that browser :) Any idea ? Thank you, John.
1
1631
by: q2005 | last post by:
Hi, all I have a very simple page and on the page there is a small javascript to create a html element. On one of my PC's runs no problem, the page is displayed and the created element is there. While on the other of my PC's (3) the javascript won't create the HTML element. I used an alert() just before it creates the element and I found the difference. On the right PC, when alert() prompted the page was already half done on the screen....
2
11287
by: Gary | last post by:
Hi, I am developing desktop application. In the desktop application am loading a html page, i want to acces html element value from C# code. Can anyone help me? how to access a html element or clientside javascript object from C# code. Note: i am not using web server. TIA,
3
12714
by: Halo | last post by:
I have a HTML text box (NOT a TextBox server control) in a .aspx page and a button server control. Is it possible with ASP.NET to get the value of the HTML text box when I click the button? How can I get the value of an HTML element from C# on the server? Thanks!
3
1347
by: Jim Heavey | last post by:
If I have an HTML element, say a <p> tag with and ID="Fred", how do I find that element? I want to set the Style attribute to "hidden", how do I do that? Thanks!!!
2
1332
by: petermichaux | last post by:
Hi, I'm trying to remove an html element in the example below. I don't see the "bye" message at the end and there are no errors reported in Firefox or exceptions caught if I wrap the remove child line in a try-catch. Any ideas what is wrong? Thanks, Peter
1
1162
by: oranmeir | last post by:
What i want actually is that when i right click on an element in my HTML file, select "properties" and then build the style of that html element, i want that the details about the position, colors and all other parameters of the style will be held on the corelated CSS file and that VS will define a class name automaticly. what i am doing now is to copy the style properties from the HTML tag to the CSS file manually. Thanks.
0
1444
by: matthewr | last post by:
Hi, I can append children to an HTML element in a WebBrowser control (.NET 2.0) using the appendChild method. However, how can I remove a child element? Thanks, Matthew
5
1667
by: thisis | last post by:
Hi All, Hi All, (this is not the same topic as the my previous topic) What objects/methods/properties does VBScript offer for: Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT - e.g. <img ... / - was FULLY Loaded into web Browser
7
2466
by: Zhang Weiwu | last post by:
Dear all How does javascript realiablily tell if a variable is a reference to an HTML Element "<select>", without causing browser to pop up error message? if (variable.constructor == HTMLElementSelect) // doesn't work, Firefox complain no such property if variable is undefined if (typeof variable == "object" && variable.constructor == HTMLElementSelect) // doesn't work, IE complain object do not have this property "constructor"
0
8379
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8816
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8709
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8494
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7309
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5627
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4297
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2719
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1924
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.