Skip to content
Advertisement

Tag: css

How to connect 2 forms in HTML and Django?

I am creating a web page and i’m wondering if i could make sure that the data on the left is filled before pressing the blue button. On the left you can see a form to pay by entering your address, city etc. but on the right you can see another form with stripe implemented to pay with credit card.

How to adjust row height with pandas Styler

I have a styled pandas DataFrame that I want to export to HTML with smaller rows than default. I don’t know much about CSS so I haven’t found a way to make it work so far. Can it be achieved and if so, how? Answer Set the styles for row and data cell line height and reset the padding

Django – issue with loading css

I’ve recently started learning Django and I’ve been having a lot of issues with implementing css into my code. I’ve found a lot of people with the same issue as me but I am still unable to find an answer. Currently when I run open the website it give me this https://imgur.com/a/0N23s7b And I’m not sure if this is because

Web Scraping ESPN Data With Selenium

I’m trying to scrape some data off ESPN and run some calculations off the scraped data. Ideally, I will like to iterate through a dataframe, grab the players name with Selenium, send the player’s name into the search box and tell Selenium to click the player’s name. I was able to do this successfully with one player. I’m not quite

Scraping etoro with python

I’m trying to use Selenium to automatically connect to my etoro account and get some figures from my portfolio. I work on Google Colab and from now, here is what I have: However, I have this error message I have tried to change and use find_element_by_class, by_xpath, etc but I couldn’t find how to do it. Could you give me

Flask static file importing issues

I’m trying to write my first webapp with Flask. I learned that to use css in my site, I have to use a static folder, because my css is never gonna change while the site is running (when it is online). So i created it, wrote a bit of css, imported it in my html via this portion of code

How to format dynamically generated HTML with django

I’m trying to create a sheet of labels to print out with a QR code a logo and phone number, the QR codes are generated separately from an xlsx file and they work. My issue is formatting them in the HTML. I’m not sure how to change the for loop so it creates a row for each time an image

Advertisement